package net.yondervision.hrfsp.sdk.esign.domain.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import net.yondervision.hrfsp.sdk.esign.domain.DefaultESignResponse;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/09/26 22:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class AccessTokenResponse extends DefaultESignResponse {

  /**
   * 授权码
   */
  private String token;
  /**
   * 有效截止时间（毫秒）
   */
  private String expiresIn;
  /**
   * 刷新授权码, 授权码token即将过期时需要用该刷新授权码获取新的token.
   */
  private String refreshToken;

}
